<?php

Yii::import('application.modules.about.models.About');

class AboutController extends Controller {

    /**
     * Lists all models.
     */
    public $layout = '//layouts/column2';

    public function init() {
        Yii::app()->theme = 'home';
    }

    public function actionDetail() {
        $model = About::model()->findByAttributes(array('alias' => $_GET['alias']));
        $this->render('detail', array('model' => $model));
    }

}